import { post, get, del } from "../utils/request";

export const addToCart = (product, amount) => {
  post("/api/v1/shop_carts", {
    product,
    amount,
  });
};
export const loadCarts = () => get("/api/v1/shop_carts");
export const delteCart = (category) => del("/api/v1/shop_carts/" + category);
